import request from "@/utils/request";

//这个是调验证码的接口
export const sendSms = mo =>  {
  return  request({
        url:`/v1_0/sms/codes/${mo}`
     })
}
 
//调登录接口
export const longin = data => {
    return request({
        method: 'POST',
        url: '/v1_0/authorizations',
        data
    })
}

//点用户个人信息接口
export const getUserInfo = () => {
  return  request({
        method: 'GET',
        url: '/v1_0/user',
        // headers: {
        //     Authorization: `Bearer ${token}`
        // }
    })
}